﻿using System;
using System.Xml.Serialization;

namespace ElectronicCommerce.Framework.Web.Configuration.ImageSize
{
    /// <summary>
    /// Image Size Item
    /// </summary>
    [Serializable]
    public class ImageSizeItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string GroupName { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        [XmlAttribute("name")]
        public string Name { get; set; }

        /// <summary>
        /// 宽度
        /// </summary>
        [XmlAttribute("width")]
        public int Width { get; set; }

        /// <summary>
        /// 高度
        /// </summary>
        [XmlAttribute("height")]
        public int Height { get; set; }
    }
}
